import {createThunkAction} from "../../lib/redux-utils";
import {postJson} from "../../lib/http";

const path = "/orderAnalysis";
const ACTION_PREFIX = "DASHBOARD.";

export const query = createThunkAction(ACTION_PREFIX + "QUERY", params =>
    postJson(path + "/businessQuery", params)
);
export const lineQuery = createThunkAction(ACTION_PREFIX + "QUERY_LINE", params =>
    postJson(path + "/lineQuery", params)
);






